﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Admin.Master" Inherits="System.Web.Mvc.ViewPage<CognisessWeb.Models.NavigationModel>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Details
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>Details</h2>

    <fieldset>
        <legend>Fields</legend>
        
        <div class="display-label">Id</div>
        <div class="display-field"><%= Html.Encode(Model.Id) %></div>
        
        <div class="display-label">TitleName</div>
        <div class="display-field"><%= Html.Encode(Model.TitleName) %></div>
        
        <div class="display-label">Sort</div>
        <div class="display-field"><%= Html.Encode(Model.Sort) %></div>
        
        <div class="display-label">Type</div>
        <div class="display-field"><%= Html.Encode(Model.Type) %></div>
        
        <div class="display-label">ParentId</div>
        <div class="display-field"><%= Html.Encode(Model.ParentId) %></div>
        
        <div class="display-label">Link</div>
        <div class="display-field"><%= Html.Encode(Model.Link) %></div>
        
        <div class="display-label">DateTime</div>
        <div class="display-field"><%= Html.Encode(String.Format("{0:g}", Model.DateTime)) %></div>
        
    </fieldset>
    <p>
        <%= Html.ActionLink("Edit", "Edit", new { id = Model.Id })%> |
        <%= Html.ActionLink("Back to List", "Index") %>
    </p>

</asp:Content>

